home *** CD-ROM | disk | FTP | other *** search
- Path: newshub.cts.com!usenet
- From: lboard@cts.com (Larry Board)
- Newsgroups: comp.lang.c
- Subject: Re: Why won't this compile????
- Date: Sat, 17 Feb 1996 19:56:03 GMT
- Organization: CTS Network Services
- Message-ID: <31263147.4226550@news2.cts.com>
- References: <4g50et$9lh@steel.interlog.com>
- NNTP-Posting-Host: lboard.cts.com
-
- On 17 Feb 1996 16:41:01 GMT, kingkaos@interlog.com (King Kaos) wrote:
-
- >
- > Hi. Can someone please explain why this program won't
- >compile without errors? I am using Power C under DOS.
-
- This line tells you everything...
-
- >pointc~1.txt(18):}
- >**************** ^202
- > 202: String constant cannot span lines
- >------------------------------------------------------------
-
- You're missing a quote mark after the \n on the second printf. All
- the other error messages are a result of this.
-
- >
- > swap(&var1, &var2);
- > printf("Variables after swap");
- > printf("var1 = %d , var2 = %d\n,var1,var2);
-
- >
- >Any help will be appericated. Please email respones directly to
- >me. Thank's.
- >
-
-